וַיְהִ֞י כִּשְׁמֹ֨עַ יָרָבְעָ֤ם בֶּן־נְבָט֙ וְה֣וּא בְמִצְרַ֔יִם אֲשֶׁ֣ר בָּרַ֔ח מִפְּנֵ֖י שְׁלֹמֹ֣ה הַמֶּ֑לֶךְ וַיָּ֥שָׁב יָרָבְעָ֖ם מִמִּצְרָֽיִם׃
And it came to pass, when Jeroboam the son of Nebat heard of it—for he was in Egypt, whither he had fled from the presence of king Solomon—that Jeroboam returned out of Egypt.
Read halakhic rulings (Jewish law) on II Chronicles 10:2: and classical halakhic sources.